package com.sam.im.heiqun.dialog;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;

import com.sam.im.heiqun.R;

/**
 * Created by Administrator on 2018/12/17.
 */

public class NotificationMsgDialog extends BaseDialog implements View.OnClickListener{
    private View mView;
    private Button mBtnIKnow;
    public NotificationMsgDialog(Context context) {
        super(context);
    }

    @Override
    protected int getDialogStyleId() {
        return 0;
    }

    @Override
    protected View getView() {
        mView = LayoutInflater.from(mContext).inflate(R.layout.notification_msg_layout,null);
        initView();
        initListener();
        return mView;
    }

    private void initListener() {
        mBtnIKnow.setOnClickListener(this);
    }

    private void initView() {
        mBtnIKnow = mView.findViewById(R.id.vip_ok_expired);
    }

    @Override
    public void onClick(View v) {
        dismiss();
    }
}
